import Vue, { useAttrs } from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import login from '@/components/login'
<<<<<<< HEAD
=======
import user from '@/components/user'
import goods from '@/components/goods'
>>>>>>> 369f932d7920bef778da30999e330073b59173e0

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
<<<<<<< HEAD
=======
    {
      path: '/user',
      name: 'user',
      component: user,
    },
    {
      path: '/goods',
      name: 'goods',
      component: goods,
    },
>>>>>>> 369f932d7920bef778da30999e330073b59173e0
  ]
})
